package com.example.graduation.service;

import com.example.graduation.entity.Shop;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.graduation.vo.ShopInfoVo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xyc
 * @since 2022-02-11
 */
public interface ShopService extends IService<Shop> {

    /**
     * 查询商店进去之后的信息，商店信息和商店中商品的信息,或者用户在商店集合中看到的信息内容
     *
     * @param shopId
     * @param status
     * @param type
     * @param goodsStatus
     * @return {@link ShopInfoVo}
     * @author xieyucan
     * CreateDate 2022/3/3 16:30
     */
    ShopInfoVo selectShopById(Integer shopId, Integer status, Integer type, Integer goodsStatus);


    /**
     * 查询商店的详细信息
     *
     * @param shopId
     * @return {@link Shop}
     * @author xieyucan
     * CreateDate 2022/3/3 16:31
     */
    Shop selectShopInfo(Integer shopId);

}
